package com.zmc.member.infrastructure.bean.vo;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author：zmc
 */

@Data
public class MemberPwdVo implements Serializable {

    /**
     * 旧密码
     */
    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    @Size(min = 6, max = 15, message = "新密码长度在6-15之间")
    private String newPassword;

    /**
     * 旧密码
     */
    @NotBlank(message = "确认密码不能为空")
    @Size(min = 6, max = 15, message = "确认密码长度在6-15之间")
    private String conformPassword;


}
